<template>
  <div class="about">
    登录页面
    <button @click="login">登录</button>
  </div>
</template>
<script>
export default {
  setup(props) {
    const login = () => {
      localStorage.setItem('token','zhangsan');
    }
    return {
      login
    }
  }
}
</script>

